//
//  DesSearchObj.m
//  HappyTrip
//
//  Created by yuxuesong on 15-4-1.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "DesSearchObj.h"

@implementation DesSearchObj

- (void)dealloc
{
    [_elements release];
    [_type release];
    [_title release];
    [super dealloc];
}

- (instancetype)initWithDic:(NSMutableDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (instancetype)desSearchObjWithDic:(NSMutableDictionary *)dic
{
    DesSearchObj *searchObj = [[DesSearchObj alloc] initWithDic:dic];
    return [searchObj autorelease];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{

}
- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}

@end
